import re

a = 'pytho11python574836php0pythonn'


r = re.findall('python?', a)
print(r)
